//
//  TKYProgressDetailCell.m
//  StationHouseHelper
//
//  Created by apple on 2018/5/7.
//  Copyright © 2018年 铁科院. All rights reserved.
//

#import "TKYProgressDetailCell.h"

@implementation TKYProgressDetailCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    //取消cell点击
    self.selectionStyle = UITableViewCellSelectionStyleNone;
    //设定两端弧度
    self.progressView.layer.cornerRadius = 3.0;
    self.progressView.layer.masksToBounds = YES;
    //设置进度条的颜色
    self.progressView.progressTintColor = kRGBColor(34, 130, 255, 1);
    
    //设置进度条的当前值，范围：0~1；
    self.progressView.transform = CGAffineTransformMakeScale(1.0f, 3.0f);
    /*
     typedef NS_ENUM(NSInteger, UIProgressViewStyle) {
     UIProgressViewStyleDefault,     // normal progress bar
     UIProgressViewStyleBar __TVOS_PROHIBITED,     // for use in a toolbar
     };
     */
    self.progressView.progressViewStyle = UIProgressViewStyleDefault;
    self.textView.userInteractionEnabled = NO;
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
